.panel {
  .mat-expanded .mat-expansion-panel-header-title {
    .badge {
      color: var(-mat-sys-on-primary);
      background-color: var(-mat-sys-primary);
    }
  }
}
